package com.example.mallproduct.dao;

import com.example.mallproduct.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 *
 * @author charlie
 * @email @gmail.com
 * @date 2023-11-26 14:55:58
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {


    /**
     * 更新上下架状态
     *
     * @param spuId
     * @param status
     */
    void updateStatus(@Param("spuId") Long spuId, @Param("status") String status);

}
